﻿using IceCS.AsposeProd.Core;
using System;
using System.IO;

namespace IceCS.AsposeProd.Cmd.Pdf
{
    static class Program
    {
        private static DocConvertService docConvertService;
        static void Main(string[] args)
        {
            docConvertService = new DocConvertService();
            var wordFilePath = @"C:\Users\huanghao\Downloads\ASOPOSET\数据库拆分.docx";
            var pdfFilePath = @"C:\Users\huanghao\Downloads\ASOPOSET\大师哥.pdf";
            //docConvertService.ConvertWordToHtml("数据库拆分.docx",File.OpenRead(wordFilePath));
            docConvertService.ConvertPdfToHtml("大师哥.pdf", File.OpenRead(pdfFilePath));
        }
    }
}
